package com.xiaoq.positionmarket.repository;

import com.xiaoq.positionmarket.entity.PositionMarketEntity;
import com.xiaoq.vo.PagingVo;

import java.util.List;

/**
 * Created by chenjh on 2018/4/2.
 */
public interface IPositionMarketRepository {

    boolean save(PositionMarketEntity entity);

    PositionMarketEntity getById(String id);

    boolean deleteById(String id);

    List<PositionMarketEntity> getPositionMarketListByPage(String shopId, PagingVo pagingVo);

    long getPositionMarketCountByPage(String shopId);

    boolean updateById(PositionMarketEntity entity);

}
